<extend name="Layout:layout_dialog" />
<block name="body_main">
    <form action="{:U('store_edit_save')}" method="post" class="xsui-form">
        <fieldset>
            <div class="xsui-form-field">
                <label>分店名称：</label>
                <input type="text" name="title" placeholder="分店名称" value="{$data.title}" required="required" />
            </div>
            <div class="xsui-form-field">
                <label>销售抬头1：</label>
                <input type="text" name="sale_title1" placeholder="销售抬头1" value="{$data.sale_title1|default='丝绸'}" required="required" />
            </div>
            <div class="xsui-form-field">
                <label>销售抬头2：</label>
                <input type="text" name="sale_title2" placeholder="销售抬头2" value="{$data.sale_title2|default='丝巾'}" required="required" />
            </div>
            <div class="xsui-form-field">
                <label>销售抬头3：</label>
                <input type="text" name="sale_title3" placeholder="销售抬头3" value="{$data.sale_title3|default='百货'}" required="required" />
            </div>
            <div class="xsui-form-field">
                <label>结算抬头：</label>
                <input type="text" name="settlement_title" placeholder="结算抬头" value="{$data.settlement_title|default='丝绸结算金额'}" required="required" />
            </div>
            <div class="xsui-form-field">
                <label>备注：</label>
                <input type="text" name="remark" placeholder="备注内容" value="{$data.remark}" />
            </div>
            <div class="xsui-form-field">
                <label>状态：</label>
                <sohtml:radio name="status" items="1:正常;0:禁用" value="{$data.status|default=1}" required="required" />
            </div>
        </fieldset>
        <button type="submit" class="xsui-btn ui-state-default"><i class="fa fa-save fw"></i>保存</button>
        <button type="reset" class="xsui-btn ui-state-default"><i class="fa fa-undo fw"></i>重置</button>
        <input type="hidden" name="id" value="{$data.id}"/>
        <input type="hidden" name="site_id" value="{$data.site_id}"/>
        <input type="hidden" name="user_name" value="{$data.user_name}"/>
    </form>
</block>